import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.io.InputStreamReader;

public class FileTest {
	public static void main(String[] args) throws FileNotFoundException {
		System.out.println(Thread.currentThread().getContextClassLoader()
				.getResource(""));
		InputStream is = FileTest.class.getResourceAsStream("test.txt");
		System.out.println(is);
	}
}
